<?php
require_once ("Smarty/Smarty.class.php");
$tpl=new smarty();
echo $tpl->cache_dir;
?>